package com.woniu.outlet.client;

import com.woniu.outlet.po.ProPlanPo;
import com.woniu.util.ResponseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "erp-pro-plan", qualifier = "planClient")
public interface PlanClient {

    @GetMapping("getPlanByOrderId")
    ResponseResult<ProPlanPo> findAllProPlan(@RequestParam("orderId") Long orderId);

}
